<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<script src="common/js/jquery-1.8.3.js" type="text/javascript"></script>
<script src="common/highcharts/js/highcharts.src.js"></script>
<script src="common/highcharts/js/modules/exporting.src.js"></script>
<title>Insert title here</title>

<script type="text/javascript">
$(function () {
    var chart;
    $(document).ready(function() {
        chart = new Highcharts.Chart({
            chart: {
                renderTo: 'container',
                type: 'column'
            },
            title: {
                text: '网站访问量统计'
            },
            subtitle: {
                text: '访问网址Top'
            },
            xAxis: {
                categories: [
                    '1',
                    '2',
                  
                ]
            },

     xAxis: {
                categories: [
<#assign x=3>
<#list 1..x as i>
'${i}',
</#list>

                ]
            },
            yAxis: {
                min: 0,
                title: {
                    text: '访问次数'
                }
            },
            legend: {
                layout: 'vertical',
                backgroundColor: '#FFFFFF',
                align: 'left',
                verticalAlign: 'top',
                x: 100,
                y: 70,
                floating: true,
                shadow: true
            },
            tooltip: {
                formatter: function() {
                    return ''+
                    '<b>'+ this.point.name +' 被访问</b> : '+ this.y +' 次';
                }
            },
            plotOptions: {
                column: {
                    pointPadding: 0.2,
                    borderWidth: 0
                }
            },
                series: [{
                name: '被访问网址',
                data: [['www.hoa123',49.9],['www.hoa100',4]]
    
            }]
        });
    });
    
});
		</script>
</head>
<body>
<div id="container" style="min-width: 400px; height: 400px; margin: 0 auto ;bbackground-colorred;font-weight: bold; "></div>

<a href="" target="_blank"></a>
<img alt="" src="">
&nbsp;
</body>
</html>